<!DOCTYPE html>
<html lang="zh_CN">
<div id="dplayer"></div>
<script src="https://cdn.jsdelivr.net/npm/hls.js@0.14.17/dist/hls.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dplayer@1.26.0/dist/DPlayer.min.js"></script>
<script type="text/javascript">
const dp = new DPlayer({
    container: document.getElementById('dplayer'),
    video: {
	url:  'http://ivi.bupt.edu.cn/hls/cctv1hd.m3u8',
	type: 'hls'
    },
    live: true
});
</script>